package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {

    PageResponse<UserVo> findUserPage(UserDto userDto, int pageNum, int pageSize);


    UserVo createUser(UserDto userDto);


    Boolean updateUser(UserDto userDto);


    int deleteUserById(Long userId);


    void isEnable(Long id, String status);


    List<UserVo> findUserList(UserDto userDto);

}
